<template>
    <div class="auth page">
        <img class="img" :src="url" alt="">
    </div>
</template>

<script>
    import {mapState} from 'vuex'
    export default {
        data(){
            return {

            }
        },
        computed:{
            ...mapState({
                userId:state=>state.user.user.userId
            }),
            url(){
                return process.env.VUE_APP_BASE_URL + 'api/user/auth/img?userId='+this.userId
            }
        }
    }
</script>

<style scoped lang="stylus">
    .auth
        display flex
        align-items center
        justify-content center
        background-color white
        .img
            width 100%
</style>
